package com.cdu.pojo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal; // 使用 BigDecimal 存储价格
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class OrderItem {
    private Integer id;
    private Integer orderId;
    private Integer productId;
    private Integer num;
    private BigDecimal price; // 修改为 BigDecimal
    private String image;
    private String title;
    private String createdUser;
    private Date createdTime;
    private String modifiedUser;
    private Date modifiedTime;
}